var myApp = new Framework7({
    modalTitle: '攻略',
	pushState:true,
	init: false,
	precompileTemplates: true,
    animateNavBackIcon: true,
});
// Expose Internal DOM library
var $$ = Dom7;
var mainView = myApp.addView('.view-main', {
    // Enable Dynamic Navbar for this view
    dynamicNavbar: true,
});
var isTip_location=false;  //指示是否提示过位置信息
/**
 * 创建ISS命名空间，ISS提供的内容都在此空间下
 */
var ISS = {
	version : '1.0'
};
/**
 * ------------------工具集合-------------------
 */
ISS.utils = {
		
};
myApp.onPageInit('index', function (page) { 
      $('a').click(function(){
      	//关闭浮动目录
      	 myApp.closePanel();
      });
      
      
      
});
/* ===== Change statusbar bg when panel opened/closed ===== */

$$('.panel-right').on('open', function () {
    $$('.statusbar-overlay').addClass('with-panel-right');
});
$$('.panel-left, .panel-right').on('close', function () {
    $$('.statusbar-overlay').removeClass('with-panel-left with-panel-right');
});
myApp.init();
